package com.hyt.it.ogt.ksmonitor.statistics.annotations;

import javax.validation.constraints.NotNull;
import java.lang.annotation.*;

/**
 * @author 朱振宇
 * @since 2022/11/13
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Documented
public @interface MqMonitorStatistics {

    String name() default "";

    @NotNull
    boolean isRepeat() default true;

    int statisticsType();

    @NotNull
    String examIdAliasName() default "examId";

    @NotNull
    String candidateIdAliasName() default "candidateId";

    int num() default 1;

}
